<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/vectrics.tld" prefix="vectrics" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

<%@ page import="org.vectrics.recruiter.config.RecruitConfig" %>
<%@ page import="org.vectrics.hibernate.*" %>

<%
	String action = "/public/" + ThreadProperties.getUriDomainId() 
		+ "/emailpassword_quest";
%>



<vectrics:errors/>
<jsp:useBean id="emailPasswordForm" class="org.vectrics.recruiter.struts.EmailPasswordForm" scope="request"/>

<html:form action="<%=action%>" method="POST" focus="emailAddress">
	<html:hidden property="emailAddress"/>
	<table>
		<tr>
			<td valign="TOP">
				<table width="600" cellpadding="4" cellspacing="1">
					<tr>
						<td class="formBg2" valign="top">
							<font class="formLabelClass"><bean:message key="prompt.password.question"/></font>
						</td>
						<td class="formBg2" valign="top">
							<font class="stdFont"><bean:write name="emailPasswordForm" property="question"/></font>
						</td>
					</tr>

					<tr>
						<td class="formBg2" valign="top">
							<font class="formLabelClass"><bean:message key="prompt.password.answer"/></font>
							<vectrics:errors property="answer"/>
						</td>
						
						<td class="formBg2" valign="top">
							<html:text property="answer" styleClass="formEditClass" maxlength="30"/>
						</td>
					</tr>
					
					<tr>
						<td valign="TOP" align="left"></td>
						<td valign="TOP" align="left">
							<vectrics:formButton name="hint.answer.given" code="button.ok" phraseCode="button.ok" value="hint.answer.given"/>
							&nbsp;
							<vectrics:formButton name="cancel" code="button.cancel" phraseCode="button.cancel" value="cancel"/>
							
					</tr>
				</table>
			</td>
		</tr>
	</table>
</html:form>